package com.rainman.noswagger.def_interface;

import com.rainman.noswagger.core.MethodTagWorkerInterface;
import com.rainman.noswagger.info_bean.MethodInfoBean;

public class MethodTagDeprecatedWorker implements MethodTagWorkerInterface<Boolean> {
    @Override
    public Boolean dealTag(MethodInfoBean methodInfoBean, String info, String lineComment) {

        methodInfoBean.getOtherInfo().put("tagDeprecated",true);

        return true;
    }

    @Override
    public String tagName() {
        return "@deprecated";
    }


}
